package com.calvin.entity;

import com.alibaba.excel.annotation.ExcelProperty;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@EqualsAndHashCode
//@ExcelIgnoreUnannotated
public class ExcelEntity2 {

	//@ExcelProperty("字符串标题")
	
//	@ExcelProperty("业务日期")
//	private String billdate;
//	@ExcelProperty("单据编号")
//    private String billcode;
//	@ExcelProperty("单据序号")
//    private Integer billsn;
//	@ExcelProperty("入库开票人")
//	private String checkRealName;
	//index 列的索引,可用于指定该数据写入那一列
	@ExcelProperty(value = {"合并标题","姓名标题"},index = 0)
	private String name;
	@ExcelProperty(value ={"合并标题","年龄标题"},index = 1)
    private Integer age;
	@ExcelProperty(value ={"合并标题","城市标题"},index = 2)
	private String city;
}
